package com.gangan.service;

import com.gangan.model.Patient;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;
import java.util.Map;

public interface IPatientService {

    List<Patient> getPatientList();

    List<Patient> getPatientByUser(@Param("userId") Integer userId);

    void addPatient(Patient patient);

    List<Patient> getListByWhere(String param);

    void disDoctor(Map<String,Object>map);

}
